package zhtt.demo02;

/**
 * Created by zhtt on 2017/4/30.
 */

/**
 * 交通工具
 */
public class Vehicle {

    private Integer id;

    private Integer year;

    private String make;

    private String color;

    private int vehicleType;

    public Vehicle() {
    }

    public Vehicle(Integer year, String make, String color, int vehicleType) {
        this.year = year;
        this.make = make;
        this.color = color;
        this.vehicleType = vehicleType;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public String getMake() {
        return make;
    }

    public void setMake(String make) {
        this.make = make;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getVehicleType() {
        return vehicleType;
    }

    public void setVehicleType(int vehicleType) {
        this.vehicleType = vehicleType;
    }
}
